package com.woniuxy.entity.po.dic;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @BelongsProject: charging-management-platform
 * @BelongsPackage: com.woniuxy.entity.po.dic
 * @Author: Quan
 * @Date: 2025/3/28 11:08
 * minio配置文件
 */
@Data
@Component
// 用来批量读取配置文件属性值(application.yml的数据)
@ConfigurationProperties(prefix = "minio")
public class MinioProp {
	//	@Value("${minio.endpoint}") // 单个读取配置文件属性值
	private String endpoint;
	private String accesskey;
	private String secretKey;
}